package dk.dtu.compute.course02312.matadordel1;


public class AndroidGUI {

    private static BoardController bc;
    
    private AndroidGUI() {}
    
    /**
     * Retrieves the singleton instance.<br>
     * @return the Board instance
     */
    private static BoardController getBC() {
        if (bc == null) {
            bc = new BoardController();
        }
        return bc;
    }
    /**
     * Displays a message to the user.<br>
     * Breaks the system untill "OK" is pressed.<br>
     * @param msg The message to print.
     */
    public static void showMessage(String msg) {
        getBC().showMessage(msg);
    }
	static public void setDice(int faceValue1, int faceValue2) {
        getBC().setDice(faceValue1, faceValue2);
	}
}
